package cn.wbnyua.msm.util;

import lombok.Data;

/**
 * 作者：wbnyua.
 * 创建时间: 2023/2/9 16:37.
 */


@Data
public class JsonUtil {

    private Integer code;
    private String message;
    private Object data;

    public JsonUtil(){}

    public JsonUtil(Integer code,String message){
        this.code = code;
        this.message = message;
    }

    public JsonUtil(Object data){
        this.data = data;
        this.code = 200;
        this.message = "成功";
    }



}
